package sample.service;

import sample.dao.ISampleDao;


public class SampleServiceImpl implements ISampleService {
    private ISampleDao sampleDao;
    private IAnotherService anotherService;

    public IAnotherService getAnotherService() {
        return anotherService;
    }

    public void setAnotherService(IAnotherService anotherService) {
        this.anotherService = anotherService;
    }

    public ISampleDao getSampleDao() {
        return sampleDao;
    }

    public void setSampleDao(ISampleDao sampleDao) {
        this.sampleDao = sampleDao;
    }

    public void sampleServiceMethod() {
    	System.out.println("inside sample service method >>>>>>>");
        getSampleDao().sampleDaoMethod();
    }
}
